﻿using Microsoft.EntityFrameworkCore;

namespace _17_ActionFilter
{
    public class MyDbContext:DbContext
    {
        public DbSet<Book> Books17 { get; set; }
        public DbSet<Person> Persons17 { get; set; }

        public MyDbContext(DbContextOptions<MyDbContext> opt)
            : base(opt) 
        {
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
